package com.xmx.service.impl;

import com.xmx.mapper.IUser_RolesMapper;
import com.xmx.service.IUser_rolesServices;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * overview：
 * author:ZhaoZH
 * 2023年05月06日 17:10
 */
@Service
public class IUser_rolesServicesImpl implements IUser_rolesServices {
    @Autowired
    private IUser_RolesMapper iUser_rolesMapper;

    @Override
    public void addUser_role(Integer uid, Integer rid) {
        iUser_rolesMapper.addUser_role(uid, rid);
    }

    @Override
    public void deleteur(Integer rid) {
        iUser_rolesMapper.deleteur(rid);
    }

    @Override
    public void deleteuru2(Integer uid) {
        iUser_rolesMapper.deleteuru2(uid);
    }
}
